<template>
	<view>
		<view class="center">
			<view >
				<text style="font-size: 45upx;text-align: center;margin-bottom: 40upx;">
					当前未登录
				</text>
			</view>
			<view>
				<button class="cu-btn block bg-blue margin-tb-sm lg" @click="gotoLogin">去登录</button>
			</view>
		</view>
	</view>
</template>

<script>
	import {
		mapState
	}from 'vuex'
	export default {
		computed:{
			...mapState(['pageCur'])
		},
		data() {
			return {
				
			};
		},
		methods:{
			gotoLogin(){
				this.$store.dispatch('NavChanges','login')
			}
		}
	}
</script>

<style lang="stylus">
	.center {
		position:fixed
		top:40%
		left:37%
		display:flex
		flex-direction: column 
		justify-content:center;
		
		
	}
</style>
